Solve the Riemann Sum using Tables